﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace LiveShopvnext.Migrations
{
    public partial class sb250 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "SpecificaPars",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    CommodId = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    SpecificaName = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    orderSpId = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    SpName = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    SpecificaPrice = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Zhong = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    SmllImage = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Proid = table.Column<int>(type: "int", nullable: false),
                    Productsn = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
                    CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_SpecificaPars", x => x.Id);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "SpecificaPars");
        }
    }
}
